package com.sesxh.project.knowledge.biz.model;
import com.sesxh.frame.dao.IBaseModel;
public class Scan extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public Scan() {}
	public Scan(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	  private java.lang.Long klgId;
 

	@javax.validation.constraints.NotNull(message="作者不能为空")

	  private java.lang.Long userId;
 
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="用户名长度不能大于50")
	  private java.lang.String account;
 
	@org.hibernate.validator.constraints.Length(min=0,max=80,message="姓名长度不能大于80")
	  private java.lang.String perName;
 
	@org.hibernate.validator.constraints.Length(min=0,max=60,message="昵称长度不能大于60")
	  private java.lang.String nickName;
 
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="工号长度不能大于50")
	  private java.lang.String empNo;
 

	  private java.util.Date createTime;
 

	  private java.util.Date updateTime;
 

	  private java.lang.Byte status;
 
	
	//<-------------------------------------------->
	public Scan setKlgId(java.lang.Long klgId){
	 this.klgId=klgId;
	 return this;
	}
	public java.lang.Long getKlgId(){
		return this.klgId;
	}
	public Scan setUserId(java.lang.Long userId){
	 this.userId=userId;
	 return this;
	}
	public java.lang.Long getUserId(){
		return this.userId;
	}
	public Scan setAccount(java.lang.String account){
		this.account=account==null?null:account.trim();
	 return this;
	}
	public java.lang.String getAccount(){
		return this.account;
	}
	public Scan setPerName(java.lang.String perName){
		this.perName=perName==null?null:perName.trim();
	 return this;
	}
	public java.lang.String getPerName(){
		return this.perName;
	}
	public Scan setNickName(java.lang.String nickName){
		this.nickName=nickName==null?null:nickName.trim();
	 return this;
	}
	public java.lang.String getNickName(){
		return this.nickName;
	}
	public Scan setEmpNo(java.lang.String empNo){
		this.empNo=empNo==null?null:empNo.trim();
	 return this;
	}
	public java.lang.String getEmpNo(){
		return this.empNo;
	}
	public Scan setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public Scan setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public Scan setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}

}
